package is.interfaces;

import is.model.exceptions.EmptyValueException;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * Interface for Dao to access bean
 *
 * @author aspr0
 */
public interface Bean
{
    public Integer getId();

    public void setId(Integer id) throws EmptyValueException;

    public String getTableName();

    public String[] getFields();

    public String[] getValues();

    public void processResultSet(ResultSet resultSet) throws SQLException;

    public Object clone();
}
